from pms.common.views import PostFormula
from technology.models import Technology
from technology.utils.profile import technology_view


class API(PostFormula):
    def handle(self, req):
        tid = req['id']
        tech = Technology.objects.get(id=tid)
        return self.success_respond(technology_view(tech))
